<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2020/6/18
 * Time: 15:09
 */
namespace app\admin\validate;

use think\Validate;

class Channel extends Validate
{
    protected $rule = [
        'name' => 'require',
        'code' => 'require',
    ];

    protected $message = [
        'name.require' => '渠道名称不能为空',
        'code.require' => '渠道码不能为空',
    ];
}